package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 应付费用统计表
 * </p>
 *
 * @author liangpeng
 * @since 2019-01-26
 */
@TableName("lisa_static_pay_cost")
public class StaticPayCost extends Model<StaticPayCost> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 调度指令号
     */
	@TableField("shipment_code")
	private String shipmentCode;
    /**
     * 系统运单号
     */
	@TableField("sys_waybill_id")
	private String sysWaybillId;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 客户运单号
     */
	@TableField("cust_waybill_id")
	private String custWaybillId;
	/**
	 * 合同编号
	 */
	@TableField("contract_id")
	private String contractId;
	/**
	 * 规则id
	 */
	@TableField("rule_id")
	private String ruleId;
    /**
     * 费用名称
     */
	@TableField("cost_type")
	private String costType;
    /**
     * 价格类型
     */
	@TableField("price_type")
	private String priceType;
    /**
     * 支付主体
     */
	@TableField("unlcn_name")
	private String unlcnName;
    /**
     * 单价
     */
	private BigDecimal price;
    /**
     * 公里数
     */
	private BigDecimal miles;
    /**
     * 金额
     */
	private BigDecimal money;
    /**
     * bms处理时间
     */
	@TableField("bms_deal_time")
	private Date bmsDealTime;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;
    /**
     * 处理状态
     */
	@TableField("deal_status")
	private Integer dealStatus;
    /**
     * 处理时间
     */
	@TableField("deal_time")
	private Date dealTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getShipmentCode() {
		return shipmentCode;
	}

	public void setShipmentCode(String shipmentCode) {
		this.shipmentCode = shipmentCode;
	}

	public String getSysWaybillId() {
		return sysWaybillId;
	}

	public void setSysWaybillId(String sysWaybillId) {
		this.sysWaybillId = sysWaybillId;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public String getCustWaybillId() {
		return custWaybillId;
	}

	public void setCustWaybillId(String custWaybillId) {
		this.custWaybillId = custWaybillId;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public String getCostType() {
		return costType;
	}

	public void setCostType(String costType) {
		this.costType = costType;
	}

	public String getPriceType() {
		return priceType;
	}

	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}

	public String getUnlcnName() {
		return unlcnName;
	}

	public void setUnlcnName(String unlcnName) {
		this.unlcnName = unlcnName;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getMiles() {
		return miles;
	}

	public void setMiles(BigDecimal miles) {
		this.miles = miles;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Date getBmsDealTime() {
		return bmsDealTime;
	}

	public void setBmsDealTime(Date bmsDealTime) {
		this.bmsDealTime = bmsDealTime;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticPayCost{" +
			", id=" + id +
			", shipmentCode=" + shipmentCode +
			", sysWaybillId=" + sysWaybillId +
			", sysOrderId=" + sysOrderId +
			", custWaybillId=" + custWaybillId +
			", costType=" + costType +
			", priceType=" + priceType +
			", price=" + price +
			", miles=" + miles +
			", money=" + money +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			"}";
	}
}
